import request from '@/utils/request'

// 查询chipInfo列表
export function listChipInfo(query) {
  return request({
    url: '/buss/chipInfo/list',
    method: 'get',
    params: query
  })
}

// 查询chipInfo详细
export function getChipInfo(id) {
  return request({
    url: '/buss/chipInfo/' + id,
    method: 'get'
  })
}

// 新增chipInfo
export function addChipInfo(data) {
  return request({
    url: '/buss/chipInfo',
    method: 'post',
    data: data
  })
}

// 修改chipInfo
export function updateChipInfo(data) {
  return request({
    url: '/buss/chipInfo',
    method: 'put',
    data: data
  })
}

// 删除chipInfo
export function delChipInfo(id) {
  return request({
    url: '/buss/chipInfo/' + id,
    method: 'delete'
  })
}
